﻿using System;
using System.Windows;
using System.Windows.Controls;
using Douban.Modules.Info.ViewModels;
using Microsoft.Practices.Composite;

namespace Douban.Modules.Info.Views
{
    /// <summary>
    /// Interaction logic for HeaderView.xaml
    /// </summary>
    public partial class HeaderView : IHeaderView
    { 
        public HeaderView()
        {
            InitializeComponent();
        }

        public IHeaderViewModel Context
        {
            get { return DataContext as IHeaderViewModel; }
            set { DataContext = value; }
        }
    }
}
